package com.indexingsystem.db.mongoDB.po;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;
//管理平台资源分类树
public class ResourceCategorsPo implements Serializable {
	private static final long serialVersionUID = 966439002715986700L;
	@JSONField(name = "_id", serialize = true, deserialize = true)
	private String id;
	@JSONField(name = "res_CategoryId", serialize = true, deserialize = true)
	private String resCategoryId;
	@JSONField(name = "res_Name", serialize = true, deserialize = true)
	private String resName;
	@JSONField(name = "parent_Id", serialize = true, deserialize = true)
	private String parentId;
	@JSONField(name = "description", serialize = true, deserialize = true)
	private String description;
	@JSONField(name = "category_Order", serialize = true, deserialize = true)
	private String categoryOrder;
	@JSONField(name = "is_Publications", serialize = true, deserialize = true)
	private Integer isPublications;

	public String getResCategoryId() {
		return resCategoryId;
	}

	public void setResCategoryId(String resCategoryId) {
		this.resCategoryId = resCategoryId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCategoryOrder() {
		return categoryOrder;
	}

	public void setCategoryOrder(String categoryOrder) {
		this.categoryOrder = categoryOrder;
	}

	public Integer getIsPublications() {
		return isPublications;
	}

	public void setIsPublications(Integer isPublications) {
		this.isPublications = isPublications;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "ResourceCategorsPo [id=" + id + ", resCategoryId=" + resCategoryId + ", resName=" + resName + ", parentId=" + parentId
				+ ", description=" + description + ", categoryOrder=" + categoryOrder + ", isPublications=" + isPublications + "]";
	}

	public ResourceCategorsPo(String id, String resCategoryId, String resName, String parentId, String description, String categoryOrder,
			Integer isPublications) {
		super();
		this.id = id;
		this.resCategoryId = resCategoryId;
		this.resName = resName;
		this.parentId = parentId;
		this.description = description;
		this.categoryOrder = categoryOrder;
		this.isPublications = isPublications;
	}	
	
	
}
